<#include "macro_.ftl">
package ${packageCode}.${moduleMapperKey}.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

import ${packageCode}.common.service.CommonService;

import ${packageCode}.${moduleMapperKey}.vo.${businessCode}Vo;

/**
 * ${businessMapper.name!businessCode}
 *
 * @author ${author!'yaoHT'}
 */
@Controller
public class ${businessCode}Controller {
	/**
	 * 公共服务
	 */
	@Qualifier(CommonService.BEAN_ID)
	@Autowired(required = false)
	private CommonService commonService;
	
	/**
	 * ${businessMapper.name!businessCode}主页面
	 * 
	 * @param ${businessCode?cap_first}Vo
	 * @return 模板路径
	 */
	@RequestMapping(value = { "/${moduleMapperKey}/${camelCaseBusinessCode}.htm", "/${moduleMapperKey}/${camelCaseBusinessCode}/index.htm" } , method = RequestMethod.GET)
	public String ${moduleMapperKey}${moduleMapperKey?cap_first}index(${businessCode}Vo ${businessCode?uncap_first}Vo) {
		return "${moduleMapperKey}/${camelCaseBusinessCode}/index";
	}
}
